@*Hdip Project 2013-14, Student Name:- Chris Pembroke,  Student Number:- x00115839*@
@model Exercise1Project.Models.BikeService

@{
    ViewBag.Title = "Delete";
}

<div class="viewContainerDiv2">

    <h2>Delete Bike Service</h2>

    <h3>Are you sure you want to delete this?</h3>

    <div>
        <dl class="dl-horizontal">
            <dt>
                @Html.DisplayNameFor(model => model.SelectedItems)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.SelectedItems)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.PartsCost)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.PartsCost)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.LabourCost)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.LabourCost)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.TotalPrice)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.TotalPrice)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Date)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Date)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.StatusBikeInShop)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.StatusBikeInShop)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.StatusService)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.StatusService)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.BikeID)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.BikeID)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.QuotedPrice)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.QuotedPrice)
            </dd>

        </dl>

        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()

            <div class="form-actions no-color">
                <input type="submit" value="Delete" class="btn btn-default" /> |
                @Html.ActionLink("Back to Service List", "ServiceList", new { id = Model.BikeID })
            </div>
        }
    </div>

</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <link rel="stylesheet" href="@Url.Content("~/Content/customised.css")" />
}
